﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<AddressSendModle>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    <%:Resources.Addressbook_Title %>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
   <% using (Html.BeginForm("AddAddress", "Address", FormMethod.Post))
       { %>
        <div class="label">
            <%: Resources.Addressbook_Title%></div>
            <table>
            <tr>
                <td><label>
           <%: Resources.Addressbook_Name%></label></td>
                <td> <input name="name" id="name" type="text" value="<%: Model.name %>" /></td>
            </tr>
            <tr>
                <td><label>
           <%: Resources.Addressbook_Number%></label></td>
                <td><input name="number" id="number"  type="text" value="<%: Model.number %>"/></td>
            </tr>
            </table>
            <input name="id" id="id" disabled="disabled"  type="text"/>
        <input type="submit" name="ok" value="<%: Resources.All_Submit%>" class="button"/>
      <input type="button" name="cancle" value="<%: Resources.All_Cancel%>" class="button" onclick="cancles()" />
    <%} %>
   <%: TempData["msg"]%>  
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="HeaderContent" runat="server">
    <link rel="stylesheet" type="text/css" href="<%:Url.Content("~/Content/css/themes/default/easyui.css")%>" />
    <link rel="stylesheet" type="text/css" href="<%:Url.Content("~/Content/css/themes/icon.css")%>" />
    <link href="<%:Url.Content("~/Content/css/icons.css")%>" rel="stylesheet" type="text/css" />
    <link href="<%:Url.Content("~/Content/css/address.css")%>" rel="stylesheet" type="text/css" />
    <script src="<%:Url.Content("~/Content/js/jquery.easyui.js")%>"></script>
    <script src="<%:Url.Content("~/Content/js/jquery.mask.js")%>"></script>
    <script src="<%:Url.Content("~/Content/js/jquery.alcatel.datagrid.js")%>"></script>
    <script src="<%:Url.Content("~/Content/js/jquery.alcatel.address.js")%>"></script>
      <script type="text/javascript">
          function cancles() { $('#cetd').dialog('close'); }
    </script>
</asp:Content>
